package com.xdb.sqlparser.dialect.mysql.ast.statement;

import com.xdb.sqlparser.ast.SQLExpr;
import com.xdb.sqlparser.dialect.mysql.visitor.MySqlASTVisitor;

public class MySqlShowCollationStatement extends MySqlStatementImpl implements MySqlShowStatement {

	private SQLExpr where;
	private SQLExpr pattern;

	public void accept0(MySqlASTVisitor visitor) {
		if (visitor.visit(this)) {
			acceptChild(visitor, where);
			acceptChild(visitor, pattern);
		}
		visitor.endVisit(this);
	}

	public SQLExpr getWhere() {
		return where;
	}

	public void setWhere(SQLExpr where) {
		this.where = where;
	}

	public SQLExpr getPattern() {
		return pattern;
	}

	public void setPattern(SQLExpr pattern) {
		this.pattern = pattern;
	}

}
